package com.rxkj.entity.rainwater;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("水雨情封装类")
public class WaterAndRainVO implements Serializable {


    @ApiModelProperty(value = "测站编码")
    private String stcd;

    @ApiModelProperty(value = "宏电rtu测站编码")
    private String termsn;

    @ApiModelProperty(value = "测站名称")
    private String stnm;

    @ApiModelProperty(value = "测站类型")
    private String stationtype;

    @ApiModelProperty(value = "设备状态：0-设备离线；1-设备在线；2-设备休眠；3-设备升级中；")
    private Integer status;

    @ApiModelProperty(value = "电池电压")
    private Double voltage;

    @ApiModelProperty(value = "通信信号强度")
    private Double signalInten;

    @ApiModelProperty(value = "5分钟时段降雨量")
    private Double drp;

    @ApiModelProperty(value = "小时降雨量")
    private String hourrain;

    @ApiModelProperty(value = "日降雨量")
    private Double dyp;

    @ApiModelProperty(value = "昨日降雨量")
    private Double zuori;

    @ApiModelProperty(value = "月降雨量")
    private Double monthrain;

    @ApiModelProperty(value = "年降雨量")
    private Double yearrain;

    @ApiModelProperty(value = "历史总降雨量")
    private Double totalrain;

    @ApiModelProperty(value = "时段长0.05-5分钟，1-1小时")
    private Double intv;

    @ApiModelProperty(value = "降雨历时")
    private Double pdr;

    @ApiModelProperty(value = "总库容")
    private Double kurong;

    @ApiModelProperty(value = "限汛水位")
    private Double xunxian;

    @ApiModelProperty(value = "水位")
    private Double rz;

    @ApiModelProperty(value = "水位类型：1相对，2绝对")
    private Integer ztype;

    @ApiModelProperty(value = "水位基值")
    private Double baseValue;

    @ApiModelProperty(value = "图片路径")
    private String imgpath;

    @ApiModelProperty(value = "图片名称")
    private String imgname;

    @ApiModelProperty(value = "天气状况")
    private Integer wth;

    @ApiModelProperty(value = "累计降雨量")
    private Double pt;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "时间")
    private Date tm;

    @ApiModelProperty(value = "备注")
    private String mark;

}
